const mongoose = require('mongoose')

mongoose.connect('mongodb://127.0.0.1:27017/hunliji', err => {
    if (err) {
        return err.message
    } else {
        console.log('服务已启动');
    }
})

module.exports = mongoose